:<<! 注释，暂时不使用
if [ $# -gt 0 ]; then
echo "开始创建头文件和源文件"
for f in "$@"
do
	touch include/${f}.h
	touch src/${f}.cpp
	touch test/${f}_test.cpp
done
else
echo "请使用命令 ./createhc.sh [文件名 文件名 ...] 来创建头文件和源文件"
fi
!
function create(){
	if [ $# -eq 1 ];then
		if [ -f $1 ];then
			echo "file $1 is exisit!"
		else
			touch $1
		fi
	else
		echo "argument of create is not correct"
	fi
}

function createhc1(){
	if [ $# -gt 0 ]; then
	echo "begin create headfile and source files"
	for f in $@
	do
		#touch include/${f}.h
		#touch src/${f}.cpp
		#touch test/${f}_test.cpp
		create include/${f}.h
		create src/${f}.cpp
		create test/${f}_test.cpp
	done
	else
	echo "please use command createhc [filename filename ...] to create head and source file"
	fi
}
